﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Windows.Forms;
using System.Configuration.Install;
using System.Reflection;

namespace Citi.Scheduler.WindowsServices
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>

        static void Main()
        {
#if DEBUG
            new Scheduler().StartDebug("LACBRA800WL5358");
#else
            var servicesToRun = new ServiceBase[]
                {
                    new Scheduler(), new ExecutionEngine(), new Monitor()
                };
            ServiceBase.Run(servicesToRun);
#endif

        }
    }
}
